from machine import I2C,Pin
from ssd1306 import SSD1306_I2C

i2c = I2C(scl = Pin(22),sda = Pin(23),freq = 10000) #软件I2C
oled = SSD1306_I2C(128, 64, i2c) #创建oled对象

oled.text("Hello World!",0,0)
oled.show()